﻿using System.Transactions;
using BusinessLogicLayer;
using NUnit.Framework;
namespace Test.BusinessLogicLayer
{
    [TestFixture]
    public class ContributionBLLTest
    {
        private ContributionBLL contributionBLL;

        [SetUp]
        public ContributionBLLTest()
        {
            contributionBLL = new ContributionBLL();
        }

        [Test]
        public void TestRetrieveAcademicPersonContributions_NonExistentPerson()
        {
            using (TransactionScope transactionScope = new TransactionScope())
            {
                Assert.IsNull(contributionBLL.RetrieveAcademicPersonContributions(0));
            }
        }
    }
}
